﻿using System;
using System.Linq;
using System.Text;
using SqlSugar;

#pragma warning disable 1591
#pragma warning disable CS8618
namespace Models
{
    /// <summary>
    /// 
    /// </summary>
    [SugarTable("dev_app_inst_hist")]
    public partial class DEV_APP_INST_HIST
    {
        /// <summary>
        /// DEV_APP_INST_HIST
        /// </summary>
        public DEV_APP_INST_HIST()
        {

        }
        /// <summary>
        /// 描    述:
        /// 默 认 值:
        /// 是否空值:False
        /// </summary>
           [SugarColumn(IsPrimaryKey=true,IsIdentity=true)]
        public int Id { get; set; }

        /// <summary>
        /// 描    述:
        /// 默 认 值:
        /// 是否空值:True
        /// </summary>
        public int? InstId { get; set; }

        /// <summary>
        /// 描    述:
        /// 默 认 值:
        /// 是否空值:False
        /// </summary>
        public int TempHistId { get; set; }

        /// <summary>
        /// 描    述:
        /// 默 认 值:
        /// 是否空值:False
        /// </summary>
        public int Version { get; set; }

        /// <summary>
        /// 描    述:
        /// 默 认 值:
        /// 是否空值:False
        /// </summary>
        public int ObjType { get; set; }

        /// <summary>
        /// 描    述:
        /// 默 认 值:
        /// 是否空值:False
        /// </summary>
        public int AppObjId { get; set; }

        /// <summary>
        /// 描    述:
        /// 默 认 值:
        /// 是否空值:False
        /// </summary>
        public string AppObjName { get; set; }

        /// <summary>
        /// 描    述:
        /// 默 认 值:
        /// 是否空值:False
        /// </summary>
        public string AppObjNo { get; set; }

        /// <summary>
        /// 描    述:
        /// 默 认 值:
        /// 是否空值:False
        /// </summary>
        public decimal AppObjAmount { get; set; }

        /// <summary>
        /// 描    述:
        /// 默 认 值:
        /// 是否空值:False
        /// </summary>
        public int AppObjCateId { get; set; }

        /// <summary>
        /// 描    述:
        /// 默 认 值:
        /// 是否空值:False
        /// </summary>
        public int AppState { get; set; }

        /// <summary>
        /// 描    述:
        /// 默 认 值:
        /// 是否空值:False
        /// </summary>
        public int Mission { get; set; }

        /// <summary>
        /// 描    述:
        /// 默 认 值:
        /// 是否空值:False
        /// </summary>
        public int StartUserId { get; set; }

        /// <summary>
        /// 描    述:
        /// 默 认 值:
        /// 是否空值:False
        /// </summary>
        public DateTime StartDateTime { get; set; }

        /// <summary>
        /// 描    述:
        /// 默 认 值:
        /// 是否空值:False
        /// </summary>
        public int AddUserId { get; set; }

        /// <summary>
        /// 描    述:
        /// 默 认 值:
        /// 是否空值:False
        /// </summary>
        public DateTime AddDatetime { get; set; }

        /// <summary>
        /// 描    述:
        /// 默 认 值:
        /// 是否空值:False
        /// </summary>
        public int CurrentNodeId { get; set; }

        /// <summary>
        /// 描    述:
        /// 默 认 值:
        /// 是否空值:True
        /// </summary>
        public string CurrentNodeName { get; set; }

        /// <summary>
        /// 描    述:
        /// 默 认 值:
        /// 是否空值:True
        /// </summary>
        public DateTime? CompleteDateTime { get; set; }

        /// <summary>
        /// 描    述:
        /// 默 认 值:
        /// 是否空值:True
        /// </summary>
        public int? NewInstId { get; set; }

        /// <summary>
        /// 描    述:
        /// 默 认 值:
        /// 是否空值:True
        /// </summary>
        public string CurrentNodeStrId { get; set; }

        /// <summary>
        /// 描    述:
        /// 默 认 值:
        /// 是否空值:False
        /// </summary>
        public int TempId { get; set; }

    }
}
